package com.neusoft.elmboot.util;

public class ServiceException extends RuntimeException {
    private int code;
    private static final long serialVersionUID = 1L;
    
    public ServiceException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}